package com.yboot.starter.common.core.constant;

/**
 * 功能描述
 *
 * @author yangcs
 * @date 2025/8/19
 */
public interface CommonConstant {

    Integer OK = 200;
    Integer FAIL = -1;

    String SYS_USERS_CACHE = "shiro:sys_user_cache";
    // 登录用户Token令牌缓存KEY前缀
    String PREFIX_USER_TOKEN  = "shiro:prefix_user_token:";
    //Token缓存时间：3600秒即一小时
    int  TOKEN_EXPIRE_TIME  = 3600;
    // token的携带head
    String X_ACCESS_TOKEN = "x-header-token";

}
